package com.windowes.weichang.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.windowes.weichang.pojo.WShop;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WShopMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WShop record);

    int insertSelective(WShop record);

    WShop selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WShop record);

    int updateByPrimaryKey(WShop record);

    List<WShop> selectByPage(Page<WShop> page, @Param("keyword") String keyword,@Param("applyState")  String applyState);

    List<WShop> selectAll();

    WShop selectByUserId(@Param("userId") Integer userId,@Param("applyState") String applyState);

    List<WShop> orderList(@Param("startTime") String startTime,@Param("endTime")  String endTime);

    List<WShop> serviceList(@Param("startTime") String startTime,@Param("endTime")  String endTime);
}